import request from '@/utils/request';

// 账号登陆
export async function authorizations(data) {
  return request('/authorizations', {
    method: 'post',
    data,
    noToken: true,
  });
}

// 验证码
export async function getImageCode() {
  return request('/image/code', {
    method: 'post',
    noToken: true,
  });
}
